import request from '../../common/request.js'

// 获取短信验证码
export function carMarketRegVerifyCode(data) {
	return request({
		url: '/api/carmarketreg/getverifycode',
		method: 'POST',
		contentType: 'application/json',
		data: JSON.stringify(data)
	})
}


// 获取注册图片url
export function carMarketRegFileUrl(data) {
	return request({
		url: '/api/carmarketreg/getfileurl',
		method: 'POST',
		contentType: 'application/json',
		data: JSON.stringify(data)
	})
}

// 提交注册
export function carMarketRegSubmit(data) {
	return request({
		url: '/api/carmarketreg/submit',
		method: 'POST',
		contentType: 'application/json',
		data: JSON.stringify(data)
	})
}